
import type { Color } from '../types';

export const getMoralisDefault = (color: Color) => {
    switch (color) {
        case 'blue':
            return moralisLogoDefaultBlue();
        default:
        case 'white':
            return moralisLogoDefaultWhite();
    }
};

const moralisLogoDefaultWhite = () => {
    return (
        <svg
            fill="none"
            height="171"
            viewBox="0 0 571 171"
            width="571"
            xmlns="http://www.w3.org/2000/svg"
        >
            <radialGradient
                id="a"
                cx="0"
                cy="0"
                gradientTransform="matrix(-77.82610115 -110.11323072 167.24896419 -118.20863595 129.956 141.22)"
                gradientUnits="userSpaceOnUse"
                r="1"
            >
                <stop offset="0" stopColor="#00ffce" />
                <stop offset="1" stopColor="#56beff" />
            </radialGradient>
            <path
                d="m173.135 49.6033c-6.906-14.5941-20.994-24.6928-36.874-25.8869-7.78-.724-15.809.5944-22.824 4.1335-4.71 2.3396-8.902 5.5869-12.426 9.4556-7.2678-8.2561-17.5412-13.6539-28.6239-14.2159-23.2986-1.3994-43.3813 13.7026-48.2752 37.1526-2.973 14.043.2698 28.7074 6.7068 41.0588 6.4263 12.185 15.804 23.018 28.0037 29.383 8.5143 4.15 16.4946-6.376 10.2679-13.735-1.9856-2.226-3.8147-4.593-5.482-7.121-1.5485-2.345-2.9406-4.809-4.2032-7.333-3.5072-7.1966-6.1241-15.3015-6.6421-23.282-.3076-5.0737.3561-9.4449 2.4604-13.8593 1.991-4.1173 5.2177-7.6564 9.4533-9.3206 6.5881-2.5017 13.4622-1.1563 18.4694 4.247 3.2536 3.3554 4.7428 8.0508 6.4047 12.3842.1241.3133.259.6159.3993.9131 3.3075 10.2175 18.4689 10.4769 21.3019-1.1455.087-.3944.173-.7943.265-1.1995.016-.0648.032-.1243.048-.1891.016-.0649.027-.1297.043-.1999.243-1.0375.524-2.0749.885-3.0421 1.128-3.1176 3.006-6.1272 5.261-8.4236 3.399-3.4635 7.732-5.5545 12.475-5.0898 2.655.1513 5.649.8753 7.807 2.0478 12.108 6.5757 10.846 23.8552 5.655 35.2398-3.647 7.9752-9.486 14.6485-15.96 20.4135-1.603 1.421-3.432 2.988-5.088 4.312-7.592 5.905-9.535 17.085-3.535 25.098 6.437 8.807 19.258 9.234 26.623 1.399 1.446-1.432 2.843-2.918 4.219-4.414 13.894-15.54 26.52-38.6064 28.484-59.8627.809-9.9365-.955-19.8676-5.309-28.9126z"
                fill="url(#a)"
            />
            <g fill="#fff">
                <path d="m269.918 61.1714c5.697 0 10.273 1.8209 13.721 5.4626 3.448 3.6418 5.169 8.4885 5.169 14.5455v29.6745h-14.914v-28.4155c0-2.4477-.615-4.382-1.84-5.7977-1.224-1.4156-3-2.1288-5.32-2.1288-2.455 0-4.36.805-5.714 2.4152-1.36 1.6102-2.039 3.8363-2.039 6.6676v27.2592h-14.914v-28.4155c0-2.4477-.615-4.382-1.84-5.7977-1.225-1.4156-3-2.1288-5.32-2.1288-2.455 0-4.36.805-5.714 2.4152-1.36 1.6102-2.04 3.8363-2.04 6.6676v27.2592h-14.913v-48.3318h14.913v4.4468c2.72-3.8687 7.16-5.7976 13.322-5.7976 5.768 0 10.106 2.1289 13.025 6.3812 3.049-4.2523 7.857-6.3812 14.418-6.3812z" />
                <path d="m341.098 104.813c-5.105 4.928-11.337 7.397-18.691 7.397s-13.586-2.464-18.691-7.397c-5.104-4.9275-7.656-10.9683-7.656-18.1222s2.552-13.1947 7.656-18.1224c5.105-4.9278 11.337-7.3916 18.691-7.3916s13.586 2.4638 18.691 7.3916c5.104 4.9277 7.656 10.9685 7.656 18.1224s-2.552 13.1947-7.656 18.1222zm-26.844-9.9093c2.185 2.1289 4.905 3.1879 8.153 3.1879s5.962-1.0644 8.153-3.1879c2.185-2.1289 3.28-4.8629 3.28-8.2183s-1.095-6.0894-3.28-8.2183-4.905-3.1879-8.153-3.1879-5.968 1.0644-8.153 3.1879-3.281 4.8683-3.281 8.2183 1.096 6.0894 3.281 8.2183z" />
                <path d="m371.238 110.86h-15.847v-48.5969h15.054v11.7142c2.39-8.9639 8.671-12.9353 14.654-12.9353 1.991 0 4.187.1027 6.88 1.3238l-3.885 15.2803c-3.291-1.2211-5.682-1.2211-7.176-1.2211-5.979 0-9.669 3.4634-9.669 17.7226v16.7174z" />
                <path d="m431.491 62.5224h14.914v48.3316h-14.914v-5.722c-1.883 4.863-8.449 7.073-14.811 7.073-6.361 0-12.162-2.464-16.802-7.397-4.64-4.9277-6.96-10.9685-6.96-18.1224s2.32-13.1947 6.96-18.1224c4.64-4.9278 10.241-7.5051 16.802-7.3916 11.31.1945 15.087 5.5977 14.811 8.2993zm-20.379 32.7651c2.185 2.1289 5.034 3.1879 8.552 3.1879s6.362-1.0644 8.552-3.1879c2.191-2.1234 3.281-4.9926 3.281-8.6019 0-3.6094-1.095-6.4785-3.281-8.6019-2.185-2.1235-5.039-3.188-8.552-3.188s-6.361 1.0645-8.552 3.188c-2.185 2.1288-3.281 4.9925-3.281 8.6019 0 3.6093 1.096 6.4785 3.281 8.6019z" />
                <path d="m457.428 110.854v-70.5605h14.914v70.5605z" />
                <path d="m497.324 55.7088c-1.759 1.7075-3.863 2.5612-6.313 2.5612-2.449 0-4.559-.8537-6.313-2.5612-1.759-1.7074-2.633-3.7552-2.633-6.138s.88-4.4307 2.633-6.1381c1.754-1.7074 3.858-2.5611 6.313-2.5611s4.554.8537 6.313 2.5611c1.754 1.7074 2.633 3.7553 2.633 6.1381s-.879 4.4306-2.633 6.138zm-13.77 55.1452v-48.3317h14.914v48.3317z" />
                <path d="m523.542 76.6355c0 .9672.847 1.7561 2.536 2.3667 1.689.6105 3.728 1.2265 6.113 1.837 2.385.6106 4.77 1.3995 7.16 2.3667 2.385.9671 4.425 2.5611 6.113 4.7818 1.689 2.2207 2.536 5.0088 2.536 8.3588 0 5.2195-1.991 9.1695-5.967 11.8385-3.977 2.675-8.882 4.009-14.714 4.009-10.473 0-17.596-3.831-21.373-11.503l12.923-7.1542c1.327 3.8039 4.139 5.7004 8.45 5.7004 3.577 0 5.368-.9996 5.368-2.9988 0-.9671-.847-1.7722-2.536-2.4152-1.688-.643-3.728-1.2698-6.113-1.8857-2.385-.6106-4.77-1.4157-7.16-2.4153-2.385-.9996-4.424-2.5611-6.113-4.69-1.689-2.1288-2.536-4.7386-2.536-7.8292 0-5.025 1.872-8.9262 5.617-11.698 3.744-2.7719 8.368-4.1551 13.867-4.1551 4.111 0 7.856.8861 11.233 2.6584 3.378 1.7722 6.098 4.3334 8.153 7.6834l-12.723 6.6676c-1.591-2.8367-3.814-4.2524-6.663-4.2524s-4.177.9024-4.177 2.707z" />
            </g>
        </svg>
    );
};

const moralisLogoDefaultBlue = () => {
    return (
        <svg
            fill="none"
            height="171"
            viewBox="0 0 570 171"
            width="570"
            xmlns="http://www.w3.org/2000/svg"
        >
            <radialGradient
                id="a"
                cx="0"
                cy="0"
                gradientTransform="matrix(-77.81043965 -110.00550682 167.15174418 -118.23181474 130.067 139.775)"
                gradientUnits="userSpaceOnUse"
                r="1"
            >
                <stop offset=".0001" stopColor="#09ffd0" />
                <stop offset="1" stopColor="#009eff" />
            </radialGradient>
            <g fill="#5a7196">
                <path d="m270.435 61.1592c5.699 0 10.275 1.82 13.723 5.4602 3.448 3.6401 5.169 8.4846 5.169 14.5389v29.6607h-14.915v-28.4023c0-2.4466-.615-4.3801-1.84-5.7951s-3-2.1279-5.32-2.1279c-2.456 0-4.36.8047-5.715 2.4142-1.36 1.6094-2.04 3.8345-2.04 6.6645v27.2466h-14.915v-28.4023c0-2.4466-.615-4.3801-1.84-5.7951s-3-2.1279-5.32-2.1279c-2.455 0-4.36.8047-5.715 2.4142-1.36 1.6094-2.039 3.8345-2.039 6.6645v27.2466h-14.915v-48.3096h14.915v4.4448c2.719-3.8669 7.16-5.795 13.323-5.795 5.768 0 10.107 2.1279 13.026 6.3783 3.049-4.2504 7.857-6.3783 14.418-6.3783z" />
                <path d="m340.817 104.781c-5.105 4.925-11.337 7.393-18.692 7.393s-13.588-2.462-18.692-7.393c-5.105-4.9257-7.657-10.9638-7.657-18.1144 0-7.1507 2.552-13.1887 7.657-18.1143 5.104-4.9255 11.337-7.3882 18.692-7.3882s13.587 2.4627 18.692 7.3882c5.105 4.9256 7.657 10.9636 7.657 18.1143 0 7.1506-2.552 13.1887-7.657 18.1144zm-26.846-9.9052c2.186 2.1279 4.905 3.1864 8.154 3.1864 3.248 0 5.963-1.0639 8.153-3.1864 2.186-2.1279 3.281-4.8607 3.281-8.2146s-1.095-6.0867-3.281-8.2146c-2.185-2.1279-4.905-3.1865-8.153-3.1865-3.249 0-5.968 1.064-8.154 3.1865-2.185 2.1225-3.28 4.8661-3.28 8.2146s1.095 6.0867 3.28 8.2146z" />
                <path d="m370.577 110.825h-15.849v-48.5751h15.055v11.7089c2.391-8.9599 8.672-12.9295 14.656-12.9295 2.482 0 5.181.2322 7.879 1.8525l-4.317 14.9601c-3.778-1.4582-5.936-1.442-7.749-1.442-5.979 0-9.67 3.4619-9.67 17.7146v16.7105z" />
                <path d="m430.301 62.5086h14.915v48.3104h-14.915v-5.72c-1.883 4.861-8.45 7.07-14.812 7.07s-12.163-2.463-16.804-7.394c-4.64-4.9254-6.961-10.9635-6.961-18.1141 0-7.1507 2.321-13.1887 6.961-18.1142 4.641-4.9256 10.242-7.5017 16.804-7.3883 11.31.1944 15.087 5.5952 14.812 8.2956zm-20.381 32.7503c2.185 2.1279 5.035 3.1865 8.553 3.1865s6.362-1.064 8.553-3.1865 3.281-4.9903 3.281-8.598-1.096-6.4756-3.281-8.5981c-2.186-2.1225-5.04-3.1864-8.553-3.1864s-6.362 1.0639-8.553 3.1864c-2.185 2.1279-3.281 4.9904-3.281 8.5981s1.096 6.4755 3.281 8.598z" />
                <path d="m456.24 110.819v-70.529h14.915v70.529z" />
                <path d="m496.139 55.6987c-1.759 1.7067-3.863 2.56-6.313 2.56s-4.56-.8533-6.314-2.56c-1.759-1.7066-2.633-3.7535-2.633-6.1353 0-2.3817.88-4.4286 2.633-6.1353 1.754-1.7066 3.859-2.5599 6.314-2.5599s4.554.8533 6.313 2.5599c1.754 1.7067 2.634 3.7536 2.634 6.1353 0 2.3818-.88 4.4287-2.634 6.1353zm-13.771 55.1203v-48.3099h14.915v48.3099z" />
                <path d="m522.359 76.6159c0 .9667.848 1.7552 2.537 2.3655 1.688.6103 3.728 1.226 6.113 1.8363s4.77 1.3988 7.161 2.3655c2.385.9668 4.425 2.56 6.114 4.7797 1.689 2.2198 2.536 5.0066 2.536 8.3551 0 5.217-1.991 9.165-5.968 11.833-3.977 2.673-8.882 4.007-14.715 4.007-10.474 0-17.597-3.829-21.374-11.498l12.923-7.1504c1.328 3.8021 4.139 5.6978 8.451 5.6978 3.577 0 5.369-.9992 5.369-2.9974 0-.9668-.847-1.7715-2.536-2.4142s-3.729-1.2692-6.114-1.8849c-2.385-.6103-4.77-1.415-7.161-2.4141-2.385-.9992-4.425-2.56-6.114-4.6879s-2.536-4.7365-2.536-7.8258c0-5.0227 1.873-8.9221 5.618-11.6927 3.744-2.7706 8.369-4.1532 13.868-4.1532 4.111 0 7.856.8857 11.234 2.6572s6.098 4.3314 8.154 7.6799l-12.724 6.6646c-1.592-2.8354-3.815-4.2504-6.664-4.2504-2.85 0-4.177.9019-4.177 2.7058z" />
            </g>
            <path
                d="m173.63 49.5791c-6.906-14.5805-20.994-24.6751-36.874-25.8681-7.781-.7234-15.809.5938-22.824 4.1296-4.71 2.3374-8.903 5.5817-12.426 9.4468-7.268-8.243-17.5361-13.6412-28.6188-14.1972-23.2986-1.4035-43.3814 13.6898-48.2753 37.1126-2.973 14.0299.2698 28.6806 6.7069 41.0212 6.4262 12.173 15.8039 22.996 28.0036 29.355 8.5144 4.146 16.4947-6.37 10.268-13.722-1.9856-2.224-3.8147-4.589-5.482-7.115-1.5486-2.343-2.9407-4.804-4.2033-7.325-3.5072-7.1907-6.1241-15.288-6.642-23.2612-.3076-5.0689.3561-9.436 2.4604-13.8463 1.991-4.1135 5.2176-7.6493 9.4532-9.3119 6.5882-2.4994 13.4623-1.1552 18.4695 4.243 3.2536 3.3522 4.7428 8.0433 6.4047 12.3726.1241.3131.259.6154.3993.9123 3.3075 10.208 18.4698 10.4671 21.3018-1.1444.087-.3941.173-.7935.265-1.1984.016-.0648.032-.1242.048-.1889.017-.0648.027-.1296.043-.1998.243-1.0364.524-2.0729.885-3.0391 1.128-3.1148 3.006-6.1216 5.261-8.4158 3.399-3.4603 7.732-5.5494 12.475-5.0851 2.655.1511 5.649.8745 7.808 2.0459 12.108 6.5696 10.845 23.833 5.654 35.207-3.647 7.9677-9.485 14.6341-15.96 20.3941-1.603 1.42-3.432 2.985-5.088 4.308-7.592 5.9-9.535 17.069-3.534 25.075 6.437 8.799 19.257 9.225 26.622 1.398 1.446-1.431 2.843-2.915 4.219-4.411 13.894-15.525 26.52-38.5696 28.484-59.8061.81-9.9273-.955-19.8492-5.309-28.8858z"
                fill="url(#a)"
            />
        </svg>
    );
};
